package com.neoCalf.neoGroup.service;

import com.neoCalf.neoCommon.entity.ChatMessage;
import com.neoCalf.neoCommon.model.dto.SendMessageDto;
import org.springframework.web.multipart.MultipartFile;

public interface SessionService {
    /**
     * 发送文本消息TO Group
     *
     * @param sendMessageDto
     * @return
     */
    ChatMessage sendText(SendMessageDto<Object> sendMessageDto);

    /**
     * 发送媒体消息TO Group
     *
     * @param sendMessageDto
     * @return
     */
    ChatMessage sendMedia(SendMessageDto<MultipartFile> sendMessageDto);
}
